bitkeeper revision 1.7.3.35 (3e01c69fVEIt6jkFKyIwKxgETc0PNw)
authorlynx@idefix.cl.cam.ac.uk <lynx@idefix.cl.cam.ac.uk>
Thu, 19 Dec 2002 13:16:15 +0000 (13:16 +0000)
committerlynx@idefix.cl.cam.ac.uk <lynx@idefix.cl.cam.ac.uk>
Thu, 19 Dec 2002 13:16:15 +0000 (13:16 +0000)
debug

xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_memory.c

index 87fdb42142a12ee44f3328e78b49054edcf7bd26..85ccd0ba9ab96a70a82df637dfebbdc93337f38d 100644 (file)
@@ -336,6 +336,8 @@ int direct_disc_unmap(unsigned long from, unsigned long first_pg, int tot_pages)
     struct list_head * curr;
     struct list_head * direct_list = &current->mm->context.direct_list;    
 
+       printk(KERN_ALERT "bd240 debug: direct_disc_unmap\n");
+
     curr = direct_list->next;
     while(curr != direct_list){
         node = list_entry(curr, direct_mmap_node_t, list);
@@ -348,9 +350,13 @@ int direct_disc_unmap(unsigned long from, unsigned long first_pg, int tot_pages)
     if(curr == direct_list)
         return -1;
 
+       printk(KERN_ALERT "bd240 debug: direct_disc_unmap, deleted from direct_list\n");
+
     list_del(&node->list);
     kfree(node);
 
+       printk(KERN_ALERT "bd240 debug: direct_disc_unmap, from %lx, tot_pages %lx\n", from, tot_pages);
+
     while(count < tot_pages){
             direct_zap_page_range(current->mm, from, PAGE_SIZE);
             from += PAGE_SIZE;